﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;

namespace ReferralTracker.Models.Account {
    public class UserEditModel {
        public int Id { get; set; }
        [Display(Name = "First Name")]
        public string FirstName { get; set; }
        [Display(Name = "Last Name")]
        public string LastName { get; set; }
        public string EMail { get; set; }
        [Display(Name = "Referral Id")]
        public string ReferralId { get; set; }
        [Display(Name = "SignUp IP Address")]
        public string SignUpIPAddress { get; set; }
        [Display(Name = "Login IP Address")]
        public string LastLogInIPAddress { get; set; }
        [Display(Name = "Last Login Date")]
        public string LastLoginDate { get; set; }
        public string RegisterReferralLink { get; set; }

        public List<UserReferralActivityModel> ReferralActivities { get; set; }
    }

    public class UserReferralActivityModel {
        public string ReferralType { get; set; }
        public string Date { get; set; }
        public string Link { get; set; }
    }
}